package org.example.casemodule.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.math.BigDecimal;
import java.lang.Long;
import java.util.Date;
import java.lang.Object;

/**
 * 律师接案偏好表 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Table(value = "lawyer_preference",dataSource = "caseDS")
public class LawyerPreferenceEntity {

    /**
     * 偏好ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 关联律师ID
     */
    @Column(value = "lawyer_id")
    private Long lawyerId;

    /**
     * 案件类型偏好
     */
    @Column(value = "case_types")
    private Object caseTypes;

    /**
     * 最小金额
     */
    @Column(value = "min_amount")
    private BigDecimal minAmount;

    /**
     * 最大金额
     */
    @Column(value = "max_amount")
    private BigDecimal maxAmount;

    /**
     * 地域范围
     */
    @Column(value = "districts")
    private Object districts;

    @Column(value = "create_time")
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLawyerId() {
        return lawyerId;
    }

    public void setLawyerId(Long lawyerId) {
        this.lawyerId = lawyerId;
    }

    public Object getCaseTypes() {
        return caseTypes;
    }

    public void setCaseTypes(Object caseTypes) {
        this.caseTypes = caseTypes;
    }

    public BigDecimal getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(BigDecimal minAmount) {
        this.minAmount = minAmount;
    }

    public BigDecimal getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(BigDecimal maxAmount) {
        this.maxAmount = maxAmount;
    }

    public Object getDistricts() {
        return districts;
    }

    public void setDistricts(Object districts) {
        this.districts = districts;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
